package com.city.service.app.impl;

import com.city.domain.app.CtDoc;
import com.city.repository.app.CtDocRepository;
import com.city.service.app.AppService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class AppServiceImpl implements AppService {

    @Autowired
    private CtDocRepository ctDocRepository;

    /**
     * @return DocList
     * @deprecation 查找所有的文档
     * @author 雷楚桥
     * @date 2018/7/24 11:38
     */
    @Override
    public List<CtDoc> finAllDoc() {
        return ctDocRepository.findAll();
    }
}
